home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970626-19970929
/
000353_news@newsmaster….columbia.edu _Mon Sep 15 22:24:47 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id WAA29208
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 15 Sep 1997 22:24:45 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id WAA27574
for kermit.misc@watsun; Mon, 15 Sep 1997 22:24:45 -0400 (EDT)
Path: news.columbia.edu!panix!howland.erols.net!ix.netcom.com!not-for-mail
From: jeffml@CHECK-SIG-FOR-ADDRESS.com (Jeff Lightfoot)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: read line?
Date: 16 Sep 1997 02:10:14 GMT
Organization: Sure
Lines: 27
Message-ID: <5vkpq6$rt2@sjx-ixn11.ix.netcom.com>
References: <5vgnsl$qi@sjx-ixn11.ix.netcom.com> <5vjkc7$7de$1@apakabar.cc.columbia.edu>
NNTP-Posting-Host: client23.netcom.com
X-NETCOM-Date: Mon Sep 15 7:10:14 PM PDT 1997
NNTP-Posting-User: jeffml
X-Newsreader: trn 4.0-test58 (13 May 97)
Xref: news.columbia.edu comp.protocols.kermit.misc:7676
According to Frank da Cruz <fdc@watsun.cc.columbia.edu>:
>In article <5vgnsl$qi@sjx-ixn11.ix.netcom.com>,
>Jeff Lightfoot <jeffml@CHECK-SIG-FOR-ADDRESS.com> wrote:
>:
>: Ok, this has to be simple but...
>:
>: At the K95 prompt I can open a file, read a line, echo that line, read
>: another ... everything works as expected.
>:
>: But if I read a line, use while success { echo \m(line), read \m(line) }
>: I get the first line repeated for each of the lines in the file.
>:
>: This is supposed to work, but for the life of me, it won't happen.
>:
>Syntax problem. \m(xxx) is used to retrieve the value of xxx, and so is
>not used in READ, DEFINE, ASSIGN, etc:
Ahhh. Chapter 18, pg. 409 in Using C-Kermit 2nd Edition, gives the example
I used.
This brings up a point. Should my K-95 have come with an addendum that
shows mistakes in the print version? I searched on the Web site, in my K-95
directory, and I couldn't find any corrections. Where is the best place to
get these?
--
jeffml @ Jeff Lightfoot
pobox.com http://www.thefoots.com/